package section_09.performancePromotion.optimisticLock;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import section_02.fillCollections.CountingIntegerList;

public class SynchronizedArrayListTest extends ListTest {
	List<Integer> containerInitializer() {
		return Collections.synchronizedList(new ArrayList<Integer>(new CountingIntegerList(containerSize)));
	}

	public SynchronizedArrayListTest(int nReaders, int nWriters) {
		super("Synched ArrayList", nReaders, nWriters);
	}
}
